package com.mune.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.lang.annotation.Annotation;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Component
// 在企业中，所有的pojo类都会添加序列化
public class User{
  private Integer id;
  private String name;
}
